﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Net.Sockets;
using MKIB3Game;


 
     public class Program
    {    /*
        static void Main(string[] args)
        {
             
          // Parser p = new Parser();
          //  p.getMessage();
          //  Console.WriteLine(p.getMessage());
          //  Console.ReadLine();
             
            Console.WriteLine("test");
            Connector c = new Connector();
            Sender s = c.getSender();
            Receiver r = c.getReceiver(); 
 
            Console.WriteLine("Welcome! To send a message to the Server enter a message");
           //mainloop
            while (true)
            {
                String st = Console.ReadLine();
                if (st.Equals("g"))
                {
                    String f = r.readBufferLine();
                    while(!f.Equals("")){                    
                        Console.WriteLine(f);
                        f =r.readBufferLine();
                    }
                }
                else if (st.Equals("exit"))
                {
                    c.close();
                    Console.ReadLine();
                    return;
                }
                else
                {
                    s.send(st);
                    Console.WriteLine("SENT: [" + st+"]");
                    // r.receive(); 
                }
            } 
           // new testsender(); 
        }//ende main
 
     */
    }
 
